﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Forms/Site.Master" AutoEventWireup="true" CodeBehind="ReportFinalPlanilla.aspx.cs" Inherits="SchoolManagement.Forms.ReportFinalPlanilla" %>

<%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %>
<%@ Register Src="Controls/ControlVisualizadorReportes.ascx" TagName="ControlVisualizadorReportes"
    TagPrefix="uc1" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" style="height: 20px">
        <asp:Panel ID="PanelBotones" runat="server">
            <tbody>
                <tr>
                    <td style="height: 19px">
                        <table id="Botones" cellspacing="0" cellpadding="0" width="auto" align="center" border="0">
                            <tr>
                                <td>
                                    <asp:Button ID="cmdExportar" runat="server" Text="Exportar" ToolTip="Exportar" OnClick="Exportar_Click" />
                                </td>
                                <td>
                                    <asp:Button ID="ButtonFirst" runat="server" Text="|<" ToolTip="Primero" OnClick="ButtonFirst_Click" />
                                </td>
                                <td>
                                    <asp:Button ID="ButtonPrevious" runat="server" Text="<" ToolTip="Anterior" OnClick="ButtonPrevious_Click" />
                                </td>
                                <td>
                                    <asp:Button ID="ButtonNext" runat="server" Text=">" ToolTip="Siguiente" OnClick="ButtonNext_Click" />
                                </td>
                                <td>
                                    <asp:Button ID="ButtonLast" runat="server" Text=">|" ToolTip="Último" OnClick="ButtonLast_Click" />
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBoxGoto" runat="server" Width="36px"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:Button ID="ButtonGoto" runat="server" Text="Ir" ToolTip="Ir a la página" OnClick="ButtonGoto_Click" />
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBoxSearch" runat="server" Width="80px" ToolTip="Digite el texto de búsqueda"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:Button ID="ButtonSearch" runat="server" Text="Buscar" ToolTip="Buscar" OnClick="ButtonSearch_Click" />
                                </td>
                                <td>
                                    <asp:Label ID="LabelZoom" runat="server" Text="Zoom:"></asp:Label>
                                </td>
                                <td>
                                    <asp:DropDownList ID="DropDownListZoom" runat="server" ToolTip="Ajustar Nivel de Zoom"
                                        OnSelectedIndexChanged="DropDownListZoom_SelectedIndexChanged" AutoPostBack="True">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:Label ID="LabelPagina" runat="server"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </tbody>
        </asp:Panel>
        <!--Muestra el reporte-->
        <asp:Panel ID="PanelVisor" runat="server">
            <tbody>
                <tr>
                    <td>
                        <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
                            <tr>
                                <td>
                                    <uc1:ControlVisualizadorReportes ID="ControlVisualizadorReportes" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </tbody>
        </asp:Panel>
        <!--Muestra ventana de Exportar-->
        <asp:Panel ID="PanelExportar" runat="server" Visible="False">
            <tbody>
                <tr>
                    <td height="20">
                        <table id="Table2" style="width: 313px; height: 78px" cellspacing="0" cellpadding="0"
                            width="313" align="center" bgcolor="#f5f5f5" border="3">
                            <tr>
                                <td style="width: 24px; height: 18px" valign="top" align="center" colspan="2" height="16">
                                    <table id="TableExportar" style="width: 333px; height: 48px" cellspacing="0" cellpadding="0"
                                        width="333" align="center" border="0">
                                        <tr>
                                            <td colspan="4">
                                                <asp:Label ID="Label9" runat="server" Width="213px" Font-Underline="True" ForeColor="Navy"
                                                    Font-Size="10pt" Font-Bold="True" Height="18px">Exportar Reporte</asp:Label>
                                            </td>
                                        </tr>
                                        <tr align="center">
                                            <td>
                                                <asp:Label ID="Label8" runat="server">Formato:</asp:Label>
                                            </td>
                                            <td align="center">
                                                <asp:DropDownList ID="DropDownListFormatosExport" runat="server">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Button ID="cmdExportar2" runat="server" Text="Exportar" OnClick="ExportarArchivo_Click">
                                                </asp:Button>
                                            </td>
                                            <td>
                                                <asp:Button ID="cmdcancelarexp" runat="server" Text="Cancelar" OnClick="CancelarExportar_Click">
                                                </asp:Button>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </tbody>
        </asp:Panel>
    </table>


<%--    <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" 
        AutoDataBind="True" DisplayToolbar="False" Height="50px" 
        ReportSourceID="CrystalReportSource2" Width="350px" />


    <CR:CrystalReportSource ID="CrystalReportSource2" runat="server">
        <Report FileName="Forms\Reports\CrystalReportPlanilla.rpt">
        </Report>
    </CR:CrystalReportSource>--%>


</asp:Content>
